<template>
  <div>
    <p>{{ count }}</p>
    <button @click="count=count+1">+1</button>
     <button @click="add">+1</button>
     <button @click="add5(1)">+5</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      count: 0,
    };
  },
  methods: {
    add() {
      this.count++;
    },
    add5(n) {
      this.count += n;
    },
  },
};
</script>

<style>
